#include <stdio.h> 
typedef union uinBigSmall{
  unsigned  int a ;
  unsigned  char b[4];

}BS;
int main(int argc, char *argv[]){  
    BS ubs;
    ubs.a = 0x12345678;
    printf("%#x\n",ubs.b[0]);
    printf("%#x\n",ubs.b[1]);
    printf("%#x\n",ubs.b[2]);
    printf("%#x\n",ubs.b[3]);
    return 0;  
}
